function Log (date){
    
    if(!Log.prototype.instance){
        Log.prototype.instance = this
    }
    Log.prototype.instance.date = date
    return Log.prototype.instance
}
const date1 = new Log('2-1')
const date2 = new Log('2-2')
console.log(date1);
console.log(date2);